package com.group3.group3.role.service;

import com.group3.group3.mybatis.entity.PtRoleEntity;
import com.group3.group3.mybatis.flexigrid.PadingRstType;
import com.group3.group3.mybatis.flexigrid.PagingBean;
import com.group3.group3.mybatis.ztree.ZtreeEntity;
import com.group3.group3.role.entity.SearchRoleEntity;

import java.util.List;

public interface RoleService {
    PadingRstType<PtRoleEntity> getRoleInfoListByPage(SearchRoleEntity search, PagingBean paging);

    List<ZtreeEntity> getMenuZtreeListByRoleId(String roleUuid);

    void saveMenuByRoleId(String roleUuid, String menuIds);

    void addRole(String uuid,String roleName, String remarks);

    void modifyRole(String roleUuid, String roleName, String remarks);

    void deleteRoleById(String roleUuid);
}
